package com.netease.pris.atom;

import com.netease.c.d;
import com.netease.f.b;
import java.text.DateFormat;
import java.util.Date;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

public class PRISNotification extends b
{
  List a;
  List b;
  Date c;

  public PRISNotification()
  {
    super("pris:notification");
  }

  private static Date i(String paramString)
  {
    if (paramString != null);
    while (true)
    {
      try
      {
        Date localDate2 = d.a().parse(paramString);
        localDate1 = localDate2;
        return localDate1;
      }
      catch (Exception localException)
      {
      }
      Date localDate1 = null;
    }
  }

  public List a()
  {
    return this.a;
  }

  public void a(i parami)
  {
    if (parami != null)
    {
      if (this.a == null)
        this.a = new LinkedList();
      this.a.add(parami);
    }
  }

  public List b()
  {
    return this.b;
  }

  public Date c()
  {
    return this.c;
  }

  public void r()
  {
    b localb1 = c("pris:app_recommend");
    if (localb1 != null)
    {
      List localList2 = localb1.d("pris:app");
      if (localList2 != null)
      {
        this.a = new LinkedList();
        Iterator localIterator2 = localList2.iterator();
        while (localIterator2.hasNext())
        {
          b localb4 = (b)localIterator2.next();
          i locali = new i();
          locali.a(localb4);
          this.a.add(locali);
        }
      }
    }
    b localb2 = c("pris:messages");
    if (localb2 != null)
    {
      this.c = i(localb2.a("updated"));
      List localList1 = localb2.d("pris:message");
      if (localList1 != null)
      {
        this.b = new LinkedList();
        Iterator localIterator1 = localList1.iterator();
        while (localIterator1.hasNext())
        {
          b localb3 = (b)localIterator1.next();
          PRISNotification.PrisMessage localPrisMessage = new PRISNotification.PrisMessage();
          localPrisMessage.a(localb3);
          this.b.add(localPrisMessage);
        }
      }
    }
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.pris.atom.PRISNotification
 * JD-Core Version:    0.6.0
 */